import Vue from 'vue'
import App from './App'
import store from './store'
// import {router,RouterMount} from './router.js';
// Vue.use(router)

Vue.config.productionTip = false


import url from './common/config.js'
import request from './common/request.js'
import api from './api/index.js'

App.mpType = 'app'

Vue.prototype.$store = store;
Vue.prototype.$url = url
Vue.prototype.$request = request
Vue.prototype.$api = api

const app = new Vue({
	// router,
	store,
	...App
})
app.$mount()
//v1.3.5起 H5端 你应该去除原有的app.$mount();使用路由自带的渲染方式
// #ifdef H5
	// RouterMount(app,router,'#app')
// #endif

// #ifndef H5
	// app.$mount(); //为了兼容小程序及app端必须这样写才有效果
// #endif
